var a1 : any [] = Array (1, 2, 3, 4, 5);
var a2 : number [] = [1, 2, 3, 4, 5];
var x1 : any [] = a1.concat (a2);
console.log (x1);
var x2 : any [] = a2.concat (a1);
console.log (x2);
var x3 : any [] = a1.copyWithin (0, 2, 3);
console.log (x3);
var x4 : any [] = a2.copyWithin (0, 2, 3);
console.log (x4);
var x5 : IterableIterator <[number,any]> = a1.entries ();
console.log (x5);
var x6 : IterableIterator <[number,any]> = a2.entries ();
console.log (x6);
function isLessThan10 (x : any) : boolean {
    return x < 10;
};
var x7 : boolean = a1.every (isLessThan10);
console.log (x7);
var x8 : boolean = a2.every (isLessThan10);
console.log (x8);
var x9 : any [] = a1.fill (0, 2, 3);
console.log (x9);
var x10 : any [] = a2.fill (0, 2, 3);
console.log (x10);
var x11 : any [] = a1.filter ((i : any) : boolean => {
        return i > 1;
    });
console.log (x11);
var x12 : any [] = a2.filter ((i : any) : boolean => {
        return i > 1;
    });
console.log (x12);
function is3 (x : any) : boolean {
    return x == 3;
};
var x13 : number = a1.findIndex (is3);
console.log (x13);
var x14 : number = a2.findIndex (is3);
console.log (x14);
var a3 : any [] = Array ([1, 2, 3], [4, 5]);
var a4 : any [] = [1, 2, 3, [4, 5]];
var x17 : any [] = a3.flat ();
console.log (x17);
var x18 : any [] = a4.flat ();
console.log (x18);
var x19 : boolean = a1.includes (2);
console.log (x19);
var x20 : boolean = a2.includes (2);
console.log (x20);
var x21 : number = a1.indexOf (3);
console.log (x21);
var x22 : number = a2.indexOf (3);
console.log (x22);
var x23 : string = a1.join ();
console.log (x23);
var x24 : string = a2.join ();
console.log (x24);
var x25 : IterableIterator <number> = a1.keys ();
console.log (x25);
var x26 : IterableIterator <number> = a2.keys ();
console.log (x26);
var x27 : number = a1.lastIndexOf (2);
console.log (x27);
var x28 : number = a2.lastIndexOf (2);
console.log (x28);
var x29 : any [] = a1.map ((x : any) : number => {
        return x * 2;
    });
console.log (x29);
var x30 : any [] = a2.map ((x : any) : number => {
        return x * 2;
    });
console.log (x30);
var x31 : number = a1.push (6);
console.log (x31);
var x32 : number = a2.push (6);
console.log (x32);
var x33 : any [] = a1.reverse ();
console.log (x33);
var x34 : any [] = a2.reverse ();
console.log (x34);
var x35 : any [] = a1.slice (2);
console.log (x35);
var x36 : any [] = a2.slice (2, 4);
console.log (x36);
function even (x : any) : boolean {
    return x % 2 === 0;
};
var x37 : boolean = a1.some (even);
console.log (x37);
var x38 : boolean = a2.some (even);
console.log (x38);
var x39 : any [] = a1.sort ();
console.log (x39);
var x40 : any [] = a2.sort ();
console.log (x40);
var x41 : any [] = a1.splice (1, 0, 42);
console.log (x41);
var x42 : any [] = a2.splice (1, 0, 42);
console.log (x42);
var x43 : number = a1.unshift (7, 8);
console.log (x43);
var x44 : number = a2.unshift (7, 8);
console.log (x44);
var x45 : IterableIterator <number> = a1.values ();
console.log (x45);
var x46 : IterableIterator <number> = a2.values ();
console.log (x46);
